package com.dkd.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;

/**
 * 库存变动日志对象 tb_stock_log
 * 
 * @author LQL
 * @date 2025-04-22
 */
public class StockLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志ID */
    private Long logId;

    /** 库存ID */
    @Excel(name = "库存ID")
    private Long fkStockId;

    /** 变动类型 */
    @Excel(name = "变动类型")
    private String changeType;

    /** 变动数量 */
    @Excel(name = "变动数量")
    private Long changeQuantity;

    public void setLogId(Long logId) 
    {
        this.logId = logId;
    }

    public Long getLogId() 
    {
        return logId;
    }
    public void setFkStockId(Long fkStockId) 
    {
        this.fkStockId = fkStockId;
    }

    public Long getFkStockId() 
    {
        return fkStockId;
    }
    public void setChangeType(String changeType) 
    {
        this.changeType = changeType;
    }

    public String getChangeType() 
    {
        return changeType;
    }
    public void setChangeQuantity(Long changeQuantity) 
    {
        this.changeQuantity = changeQuantity;
    }

    public Long getChangeQuantity() 
    {
        return changeQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("logId", getLogId())
            .append("fkStockId", getFkStockId())
            .append("changeType", getChangeType())
            .append("changeQuantity", getChangeQuantity())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
